Repository navigation
v1.5.1: WSPR power normalization and packmsg bounds hardening - #45
Merged
Merged
Conversation
…id chars, clean warnings
Update library.properties to 1.5.1 and add the changelog entry for the WSPR power normalization, bounds-check, free-text, warning, and example reconnect fixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patch-level cleanup on top of
v1.5.0/ merge76fd68b, with av1.5.1version bump.This PR focuses on interoperability and safety for the full packmsg path, WSPR power normalization, and the FT4/FT8 beacon examples.
What changed
WSPR power now follows the WSJT-X
wqencodeconvention:with:
nu = {0, -1, 1, 0, -1, 2, 1, 0, -1, 1}getpfx1()prefix/suffix handling is bounds-checked using explicit lengths instead of writing a NUL pastchar c[5].Invalid free-text characters now map to code
0, matching Fortranpacktext77, in both compact and full paths.Warning cleanup:
snprintfprecision explicit,trim_lenandgrid2k,FT4/FT8 beacon examples now limit pre-transmission WiFi reconnect time:
NTP_SYNC_MAX_MS = 5000RECONNECT_SAFETY_MS = 1000Version bumped to
1.5.1inlibrary.propertiesand README changelog.Verification
Harness on this branch:
Full packmsg mode:
Full path regression includes the new prefix bounds cases:
WSPR power normalization checks:
Free-text invalid-character regression:
FT4/FT8 example compiles after the reconnect-budget change:
Warning build with
-Wall -Wextrano longer reports the original-Wparentheses,-Wformat-truncation, or-Wsign-compareissues. It does still report-Wstringop-truncationwarnings for intentional fixed-lengthstrncpy()copies; those were not restructured in this PR.Notes / scope
<...>support remains documented as out of scope; hash-form messages currently fall back to free text.docs/FT8_FT4_CRC_BUG.mdwas already present at thev1.5.0merge base and is not modified in this PR.Commits